﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLuaBase.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class YoozooCoreCommonQualityAdjusterSettingWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(Yoozoo.Core.Common.QualityAdjusterSetting);
			Utils.BeginObjectRegister(type, L, translator, 0, 1, 18, 18);
			
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetQualityValue", _m_GetQualityValue);
			
			
			Utils.RegisterFunc(L, Utils.GETTER_IDX, "quality", _g_get_quality);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "adjusterLimit", _g_get_adjusterLimit);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fpsLevel", _g_get_fpsLevel);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "renderPrecisionQuality", _g_get_renderPrecisionQuality);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "resolutionPercent", _g_get_resolutionPercent);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "shadowLevel", _g_get_shadowLevel);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "lightingLevel", _g_get_lightingLevel);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "characterGraphicLevel", _g_get_characterGraphicLevel);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "sceneGraphicLevel", _g_get_sceneGraphicLevel);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fxEffectLevel", _g_get_fxEffectLevel);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "postEffectLevel", _g_get_postEffectLevel);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "postEffectStyle", _g_get_postEffectStyle);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "farClipDistance", _g_get_farClipDistance);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fov", _g_get_fov);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "npcCount", _g_get_npcCount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "carCount", _g_get_carCount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "HDR", _g_get_HDR);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "MSAALevel", _g_get_MSAALevel);
            
			Utils.RegisterFunc(L, Utils.SETTER_IDX, "quality", _s_set_quality);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "adjusterLimit", _s_set_adjusterLimit);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fpsLevel", _s_set_fpsLevel);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "renderPrecisionQuality", _s_set_renderPrecisionQuality);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "resolutionPercent", _s_set_resolutionPercent);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "shadowLevel", _s_set_shadowLevel);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "lightingLevel", _s_set_lightingLevel);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "characterGraphicLevel", _s_set_characterGraphicLevel);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "sceneGraphicLevel", _s_set_sceneGraphicLevel);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fxEffectLevel", _s_set_fxEffectLevel);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "postEffectLevel", _s_set_postEffectLevel);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "postEffectStyle", _s_set_postEffectStyle);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "farClipDistance", _s_set_farClipDistance);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fov", _s_set_fov);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "npcCount", _s_set_npcCount);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "carCount", _s_set_carCount);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "HDR", _s_set_HDR);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "MSAALevel", _s_set_MSAALevel);
            
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 3, 0, 0);
			Utils.RegisterFunc(L, Utils.CLS_IDX, "Clone", _m_Clone_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Equal", _m_Equal_xlua_st_);
            
			
            
			
			
			
            Utils.RegisterFunc(L, Utils.CLS_IDX, "New", __CreateInstanceNew);
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 1)
				{
					
					var gen_ret = new Yoozoo.Core.Common.QualityAdjusterSetting();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Core.Common.QualityAdjusterSetting constructor!");
            
        }

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstanceNew(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 0)
				{
					
					var gen_ret = new Yoozoo.Core.Common.QualityAdjusterSetting();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Core.Common.QualityAdjusterSetting constructor!");
            
        }

        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetQualityValue(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.GetQualityValue(  );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Clone_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    Yoozoo.Core.Common.QualityAdjusterSetting _origin = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.GetObject(L, 1, typeof(Yoozoo.Core.Common.QualityAdjusterSetting));
                    
                        var gen_ret = Yoozoo.Core.Common.QualityAdjusterSetting.Clone( _origin );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Equal_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    Yoozoo.Core.Common.QualityAdjusterSetting _origin = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.GetObject(L, 1, typeof(Yoozoo.Core.Common.QualityAdjusterSetting));
                    Yoozoo.Core.Common.QualityAdjusterSetting _adjusterSetting = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.GetObject(L, 2, typeof(Yoozoo.Core.Common.QualityAdjusterSetting));
                    
                        var gen_ret = Yoozoo.Core.Common.QualityAdjusterSetting.Equal( _origin, _adjusterSetting );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_quality(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                translator.PushYoozooMarsGotQualityEnum(L, gen_to_be_invoked.quality);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_adjusterLimit(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.adjusterLimit);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_fpsLevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.fpsLevel);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_renderPrecisionQuality(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.renderPrecisionQuality);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_resolutionPercent(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.resolutionPercent);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_shadowLevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.shadowLevel);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_lightingLevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.lightingLevel);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_characterGraphicLevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.characterGraphicLevel);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_sceneGraphicLevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.sceneGraphicLevel);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_fxEffectLevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.fxEffectLevel);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_postEffectLevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.postEffectLevel);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_postEffectStyle(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.postEffectStyle);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_farClipDistance(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.farClipDistance);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_fov(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.fov);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_npcCount(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.npcCount);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_carCount(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.carCount);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_HDR(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.HDR);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_MSAALevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.MSAALevel);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_quality(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                Yoozoo.Mars.Got.QualityEnum gen_value;translator.Get(L, 2, out gen_value);
				gen_to_be_invoked.quality = gen_value;
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_adjusterLimit(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.adjusterLimit = (Yoozoo.Core.Common.QualityAdjusterLimit)translator.GetObject(L, 2, typeof(Yoozoo.Core.Common.QualityAdjusterLimit));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_fpsLevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.fpsLevel = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_renderPrecisionQuality(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.renderPrecisionQuality = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_resolutionPercent(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.resolutionPercent = (float)LuaAPI.lua_tonumber(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_shadowLevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.shadowLevel = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_lightingLevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.lightingLevel = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_characterGraphicLevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.characterGraphicLevel = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_sceneGraphicLevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.sceneGraphicLevel = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_fxEffectLevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.fxEffectLevel = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_postEffectLevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.postEffectLevel = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_postEffectStyle(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.postEffectStyle = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_farClipDistance(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.farClipDistance = (float)LuaAPI.lua_tonumber(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_fov(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.fov = (float)LuaAPI.lua_tonumber(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_npcCount(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.npcCount = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_carCount(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.carCount = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_HDR(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.HDR = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_MSAALevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Core.Common.QualityAdjusterSetting gen_to_be_invoked = (Yoozoo.Core.Common.QualityAdjusterSetting)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.MSAALevel = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
		
		
		
		
    }
}
